package com.kantboot.timer.event;

import lombok.Getter;
import lombok.Setter;
import org.springframework.context.ApplicationEvent;

/**
 * 定时器事件
 */
@Getter
@Setter
public class GloberTimerEvent extends ApplicationEvent {

    /**
     * 毫秒数
     */
    private Long millis;

    public GloberTimerEvent(Object source, Long millis) {
        super(source);
        this.millis = millis;
    }

}
